# sh testcase for fldx.d $rm, $rn, $drf -*- Asm -*-
# mach: all
# as: -isa=shmedia
# ld: -m shelf64

	.include "media/testutils.inc"

	start
	movi 0x2800, r0
	movi 0, r1
	fldx.d r0, r1, dr0
	movi 8, r1
	fldx.d r0, r1, dr0
	movi -8, r1
	fldx.d r0, r1, dr0
	pass
